-- GENERATED SPELL FOR [Condemned Monk] --


function spell0_7069(pUnit, Event) --@Kick,n/a--
pUnit:FullCastSpellOnTarget(15614,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7069', 6315, 1)
end

function spell1_7069(pUnit, Event) --@Pummel,n/a--
pUnit:FullCastSpellOnTarget(15615,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7069', 5274, 1)
end

function Sorts_7069(pUnit, Event)
local choix_sorts_7069 = math.random(0, 1)
if choix_sorts_7069 == 0 then
pUnit:RegisterEvent('spell0_7069', 1, 1)
end
if choix_sorts_7069 == 1 then
pUnit:RegisterEvent('spell1_7069', 1, 1)
end
end

function mob7069_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7069', math.random(1500, 3000), 1)
end

function mob7069_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7069_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7069_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7069, 1, 'mob7069_Action')
RegisterUnitEvent(7069, 2, 'mob7069_Leave')
RegisterUnitEvent(7069, 3, 'mob7069_Kill')
RegisterUnitEvent(7069, 4, 'mob7069_Die')
